TmSelectionBox

Section: C Library Functions (3)
Updated: 24 July 1993
Index Return to Main Contents
 

NAME

TmSelectionBox - the SelectionBox widget class  

SYNOPSIS

xmSelectionBox  pathName [options]
xmPromptDialog  pathName [options]
xmSelectionDialog  pathName [options]

 

DESCRIPTION

This is the tcl binding to the Motif SelectionBox widget and the SelectionBox Dialog convenience functions.

 

CLASSES

The class name for resource files is XmSelectionBox. Resources are inherited from TmPrimitive, TmCore. Methods are inherited from TmCore.

 

RESOURCES

New resources for this class are
applyLabelString
cancelLabelString
childPlacement
dialogType
helpLabelString
listItemCount
listItems
listLabelString
listVisibleItemCount
minimizeButtons
mustMatch
okLabelString
selectionLabelString
textAccelerators
textColumns
textString

 

CHILDREN

SelectionBox has a number of children, which may or may not exist, depending on the type of selection box. They have names
Apply
Cancel
Help
ItemsList
Items
OK
Selection
Separator
Text
Note that this makes the XmSelectionBoxGetChild function redundant.

Each child has methods appropriate to its type. For example, the ItemsList widget is currently a List widget and so has methods ``selectPosition'', etc. Note that OSF warn against assuming a particular type for any child widget, so you should check the class before using a widget-specific method.

 

METHODS

New methods for this class are
applyCallback
cancelCallback
noMatchCallback
okCallback

 

CALLBACK SUBSTITUTIONS

The substitutions supported for this class are
%reason  - the additional values are
apply
cancel
no_match
ok

%value - the value of the text field

 

BUGS

None known as yet.  

AUTHOR

Jan Newmarch, University of Canberra


 

Index

NAME
SYNOPSIS
DESCRIPTION
CLASSES
RESOURCES
CHILDREN
METHODS
CALLBACK SUBSTITUTIONS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 20:43:53 GMT, June 11, 2022